"use strict";
var __assign = (this && this.__assign) || function () {
    __assign = Object.assign || function(t) {
        for (var s, i = 1, n = arguments.length; i < n; i++) {
            s = arguments[i];
            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
                t[p] = s[p];
        }
        return t;
    };
    return __assign.apply(this, arguments);
};
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
    if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
        if (ar || !(i in from)) {
            if (!ar) ar = Array.prototype.slice.call(from, 0, i);
            ar[i] = from[i];
        }
    }
    return to.concat(ar || Array.prototype.slice.call(from));
};
Object.defineProperty(exports, "__esModule", { value: true });
var vue_1 = require("vue");
var vue_router_1 = require("vue-router");
var element_plus_1 = require("element-plus");
// 路由实例
var router = (0, vue_router_1.useRouter)();
// 状态
var loading = (0, vue_1.ref)(false);
var searchKeyword = (0, vue_1.ref)('');
var currentPage = (0, vue_1.ref)(1);
var pageSize = (0, vue_1.ref)(10);
var totalOrders = (0, vue_1.ref)(0);
var totalPages = (0, vue_1.ref)(0);
var dialogVisible = (0, vue_1.ref)(false);
var detailVisible = (0, vue_1.ref)(false);
var deleteConfirmVisible = (0, vue_1.ref)(false);
var isEditMode = (0, vue_1.ref)(false);
var currentOrder = (0, vue_1.ref)({});
var deleteOrderId = (0, vue_1.ref)(null);
var formRef = (0, vue_1.ref)(null);
// 仓库与产品数据（扩展产品信息用于自动填充）
var warehouseList = (0, vue_1.ref)([
    { id: 1, name: '仓库1' },
    { id: 2, name: '仓库2' },
    { id: 3, name: '仓库3' }
]);
var productList = (0, vue_1.ref)([
    { id: 1, name: '兰蔻', brand: '兰蔻', spec: '50ml', type: '护肤品', retailPrice: '890' },
    { id: 2, name: '雅诗兰黛', brand: '雅诗兰黛', spec: '30ml', type: '护肤品', retailPrice: '690' },
    { id: 3, name: 'SK-II', brand: 'SK-II', spec: '230ml', type: '护肤品', retailPrice: '1540' }
]);
// 表单数据（完整的商品行结构）
var formData = (0, vue_1.reactive)({
    id: null,
    orderNo: '',
    transferTime: '',
    fromWarehouse: '',
    toWarehouse: '',
    handler: '',
    description: '',
    productRows: [] // 商品明细行数组
});
// 验证器
var checkWarehouse = function (rule, value, callback) {
    if (value && value === formData.fromWarehouse) {
        callback(new Error('发货仓库和收货仓库不能相同'));
    }
    else {
        callback();
    }
};
// 表单验证规则
var formRules = (0, vue_1.reactive)({
    fromWarehouse: [{ required: true, message: '请选择发货仓库', trigger: 'change' }],
    toWarehouse: [
        { required: true, message: '请选择收货仓库', trigger: 'change' },
        { validator: checkWarehouse, trigger: 'change' }
    ]
});
// 示例数据
var transferOrders = (0, vue_1.ref)([
    {
        id: 1,
        orderNo: 'EXC20231001',
        transferTime: '2023-10-01',
        fromWarehouse: '仓库1',
        toWarehouse: '仓库2',
        productName: '兰蔻',
        quantity: 10,
        status: '已完成',
        description: '无'
    },
    {
        id: 2,
        orderNo: 'EXC20231002',
        transferTime: '2023-10-02',
        fromWarehouse: '仓库2',
        toWarehouse: '仓库3',
        productName: '雅诗兰黛',
        quantity: 8,
        status: '进行中',
        description: '加急'
    }
]);
// 过滤 + 分页
var filteredOrders = (0, vue_1.computed)(function () {
    var keyword = searchKeyword.value.trim().toLowerCase();
    var result = transferOrders.value.filter(function (o) {
        return [o.orderNo, o.fromWarehouse, o.toWarehouse, o.productName, o.status]
            .some(function (v) { return v.toLowerCase().includes(keyword); });
    });
    totalOrders.value = result.length;
    totalPages.value = Math.ceil(result.length / pageSize.value);
    var start = (currentPage.value - 1) * pageSize.value;
    return result.slice(start, start + pageSize.value);
});
// 方法们
var handleBack = function () { return router.back(); };
var handleSearch = function () { return currentPage.value = 1; };
// 新增调拨单：初始化商品行
var handleAddOrder = function () {
    isEditMode.value = false;
    Object.assign(formData, {
        id: null,
        orderNo: '',
        transferTime: new Date().toISOString().split('T')[0], // 默认当前日期
        fromWarehouse: '',
        toWarehouse: '',
        handler: '',
        description: '',
        productRows: []
    });
    // 默认添加一行商品
    addProductRow();
    dialogVisible.value = true;
};
var handleEditOrder = function (row) {
    isEditMode.value = true;
    // 模拟编辑时的商品行数据
    formData.productRows = [{
            productNo: 'P' + row.id,
            productName: row.productName,
            quantity: row.quantity,
            remark: row.description
        }];
    Object.assign(formData, __assign({}, row));
    dialogVisible.value = true;
};
var handleViewDetail = function (row) {
    currentOrder.value = __assign({}, row);
    detailVisible.value = true;
};
var handleDeleteOrder = function (id) {
    deleteOrderId.value = id;
    deleteConfirmVisible.value = true;
};
var confirmDelete = function () {
    transferOrders.value = transferOrders.value.filter(function (o) { return o.id !== deleteOrderId.value; });
    deleteConfirmVisible.value = false;
    element_plus_1.ElMessage.success('调拨单已删除');
};
// 添加商品行
var addProductRow = function () {
    formData.productRows.push({
        productNo: '',
        productName: '',
        brand: '',
        spec: '',
        type: '',
        retailPrice: '',
        discount: '',
        discountPrice: '',
        specialPrice: '',
        seckillPrice: '',
        quantity: 1,
        stock: '',
        totalAmount: '',
        remark: ''
    });
};
// 删除商品行
var removeProductRow = function (row) {
    formData.productRows = formData.productRows.filter(function (item) { return item !== row; });
};
// 选择产品时自动填充基础信息
var handleProductChange = function (row) {
    var product = productList.value.find(function (p) { return p.name === row.productName; });
    if (product) {
        row.brand = product.brand;
        row.spec = product.spec;
        row.type = product.type;
        row.retailPrice = product.retailPrice;
    }
};
// 保存为草稿
var handleSaveAsDraft = function () {
    element_plus_1.ElMessage.success('已保存为草稿');
    dialogVisible.value = false;
};
// 保存调拨单
var handleSaveOrder = function () {
    if (formData.productRows.length === 0) {
        element_plus_1.ElMessage.error('请至少添加一个调拨商品');
        return;
    }
    if (!formData.fromWarehouse || !formData.toWarehouse) {
        element_plus_1.ElMessage.error('请选择出入库仓库');
        return;
    }
    if (isEditMode.value) {
        var i = transferOrders.value.findIndex(function (o) { return o.id === formData.id; });
        if (i !== -1)
            transferOrders.value[i] = __assign({}, formData);
        element_plus_1.ElMessage.success('调拨单已更新');
    }
    else {
        var newId = (Math.max.apply(Math, __spreadArray([0], transferOrders.value.map(function (o) { return o.id; }), false)) + 1);
        transferOrders.value.unshift(__assign(__assign({}, formData), { id: newId, orderNo: "EXC".concat(new Date().getFullYear()).concat((new Date().getMonth() + 1).toString().padStart(2, '0')).concat(newId.toString().padStart(3, '0')), status: '进行中', 
            // 取第一个商品作为列表显示的产品名称
            productName: formData.productRows[0].productName || '多种商品', quantity: formData.productRows.reduce(function (sum, item) { return sum + (item.quantity || 0); }, 0) }));
        element_plus_1.ElMessage.success('调拨单已创建');
    }
    dialogVisible.value = false;
};
var handleDialogClose = function () {
    dialogVisible.value = false;
};
var handleSizeChange = function (val) {
    pageSize.value = val;
    currentPage.value = 1;
};
var handleCurrentChange = function (val) { return currentPage.value = val; };
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
var __VLS_ctx = __assign(__assign({}, {}), {});
var __VLS_elements;
var __VLS_components;
var __VLS_directives;
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "transfer-order-page" }));
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "page-header" }));
__VLS_asFunctionalElement(__VLS_elements.h2, __VLS_elements.h2)({});
var __VLS_0 = {}.ElButton;
/** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
// @ts-ignore
ElButton;
// @ts-ignore
var __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0(__assign({ 'onClick': {} }, { type: "text" })));
var __VLS_2 = __VLS_1.apply(void 0, __spreadArray([__assign({ 'onClick': {} }, { type: "text" })], __VLS_functionalComponentArgsRest(__VLS_1), false));
var __VLS_4;
var __VLS_5;
var __VLS_6 = ({ click: {} },
    { onClick: (__VLS_ctx.handleBack) });
var __VLS_7 = __VLS_3.slots.default;
// @ts-ignore
[handleBack,];
var __VLS_3;
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "search-bar" }));
var __VLS_8 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_9 = __VLS_asFunctionalComponent(__VLS_8, new __VLS_8(__assign(__assign({ modelValue: (__VLS_ctx.searchKeyword), placeholder: "请输入关键词搜索" }, { class: "search-input" }), { clearable: true })));
var __VLS_10 = __VLS_9.apply(void 0, __spreadArray([__assign(__assign({ modelValue: (__VLS_ctx.searchKeyword), placeholder: "请输入关键词搜索" }, { class: "search-input" }), { clearable: true })], __VLS_functionalComponentArgsRest(__VLS_9), false));
// @ts-ignore
[searchKeyword,];
var __VLS_13 = {}.ElButton;
/** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
// @ts-ignore
ElButton;
// @ts-ignore
var __VLS_14 = __VLS_asFunctionalComponent(__VLS_13, new __VLS_13(__assign(__assign({ 'onClick': {} }, { type: "primary" }), { class: "search-btn" })));
var __VLS_15 = __VLS_14.apply(void 0, __spreadArray([__assign(__assign({ 'onClick': {} }, { type: "primary" }), { class: "search-btn" })], __VLS_functionalComponentArgsRest(__VLS_14), false));
var __VLS_17;
var __VLS_18;
var __VLS_19 = ({ click: {} },
    { onClick: (__VLS_ctx.handleSearch) });
var __VLS_20 = __VLS_16.slots.default;
// @ts-ignore
[handleSearch,];
var __VLS_16;
var __VLS_21 = {}.ElButton;
/** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
// @ts-ignore
ElButton;
// @ts-ignore
var __VLS_22 = __VLS_asFunctionalComponent(__VLS_21, new __VLS_21(__assign(__assign({ 'onClick': {} }, { type: "success" }), { class: "add-btn" })));
var __VLS_23 = __VLS_22.apply(void 0, __spreadArray([__assign(__assign({ 'onClick': {} }, { type: "success" }), { class: "add-btn" })], __VLS_functionalComponentArgsRest(__VLS_22), false));
var __VLS_25;
var __VLS_26;
var __VLS_27 = ({ click: {} },
    { onClick: (__VLS_ctx.handleAddOrder) });
var __VLS_28 = __VLS_24.slots.default;
// @ts-ignore
[handleAddOrder,];
var __VLS_24;
var __VLS_29 = {}.ElTable;
/** @type {[typeof __VLS_components.ElTable, typeof __VLS_components.elTable, typeof __VLS_components.ElTable, typeof __VLS_components.elTable, ]} */ ;
// @ts-ignore
ElTable;
// @ts-ignore
var __VLS_30 = __VLS_asFunctionalComponent(__VLS_29, new __VLS_29(__assign({ data: (__VLS_ctx.filteredOrders), border: true, stripe: true }, { class: "order-table" })));
var __VLS_31 = __VLS_30.apply(void 0, __spreadArray([__assign({ data: (__VLS_ctx.filteredOrders), border: true, stripe: true }, { class: "order-table" })], __VLS_functionalComponentArgsRest(__VLS_30), false));
__VLS_asFunctionalDirective(__VLS_directives.vLoading)(null, __assign(__assign({}, __VLS_directiveBindingRestFields), { value: (__VLS_ctx.loading) }), null, null);
var __VLS_33 = __VLS_32.slots.default;
// @ts-ignore
[filteredOrders, vLoading, loading,];
var __VLS_34 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_35 = __VLS_asFunctionalComponent(__VLS_34, new __VLS_34({
    prop: "transferTime",
    label: "调拨时间",
    sortable: true,
}));
var __VLS_36 = __VLS_35.apply(void 0, __spreadArray([{
        prop: "transferTime",
        label: "调拨时间",
        sortable: true,
    }], __VLS_functionalComponentArgsRest(__VLS_35), false));
var __VLS_39 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_40 = __VLS_asFunctionalComponent(__VLS_39, new __VLS_39({
    prop: "orderNo",
    label: "调拨单号",
}));
var __VLS_41 = __VLS_40.apply(void 0, __spreadArray([{
        prop: "orderNo",
        label: "调拨单号",
    }], __VLS_functionalComponentArgsRest(__VLS_40), false));
var __VLS_44 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_45 = __VLS_asFunctionalComponent(__VLS_44, new __VLS_44({
    prop: "fromWarehouse",
    label: "发货仓库",
}));
var __VLS_46 = __VLS_45.apply(void 0, __spreadArray([{
        prop: "fromWarehouse",
        label: "发货仓库",
    }], __VLS_functionalComponentArgsRest(__VLS_45), false));
var __VLS_49 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_50 = __VLS_asFunctionalComponent(__VLS_49, new __VLS_49({
    prop: "toWarehouse",
    label: "收货仓库",
}));
var __VLS_51 = __VLS_50.apply(void 0, __spreadArray([{
        prop: "toWarehouse",
        label: "收货仓库",
    }], __VLS_functionalComponentArgsRest(__VLS_50), false));
var __VLS_54 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_55 = __VLS_asFunctionalComponent(__VLS_54, new __VLS_54({
    prop: "productName",
    label: "调拨产品",
}));
var __VLS_56 = __VLS_55.apply(void 0, __spreadArray([{
        prop: "productName",
        label: "调拨产品",
    }], __VLS_functionalComponentArgsRest(__VLS_55), false));
var __VLS_59 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_60 = __VLS_asFunctionalComponent(__VLS_59, new __VLS_59({
    prop: "quantity",
    label: "调拨数量",
}));
var __VLS_61 = __VLS_60.apply(void 0, __spreadArray([{
        prop: "quantity",
        label: "调拨数量",
    }], __VLS_functionalComponentArgsRest(__VLS_60), false));
var __VLS_64 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_65 = __VLS_asFunctionalComponent(__VLS_64, new __VLS_64({
    label: "状态",
}));
var __VLS_66 = __VLS_65.apply(void 0, __spreadArray([{
        label: "状态",
    }], __VLS_functionalComponentArgsRest(__VLS_65), false));
var __VLS_68 = __VLS_67.slots.default;
{
    var __VLS_69 = __VLS_67.slots.default;
    var scope = __VLS_getSlotParameters(__VLS_69)[0];
    var __VLS_70 = {}.ElTag;
    /** @type {[typeof __VLS_components.ElTag, typeof __VLS_components.elTag, typeof __VLS_components.ElTag, typeof __VLS_components.elTag, ]} */ ;
    // @ts-ignore
    ElTag;
    // @ts-ignore
    var __VLS_71 = __VLS_asFunctionalComponent(__VLS_70, new __VLS_70({
        type: (scope.row.status === '已完成' ? 'success' : 'warning'),
    }));
    var __VLS_72 = __VLS_71.apply(void 0, __spreadArray([{
            type: (scope.row.status === '已完成' ? 'success' : 'warning'),
        }], __VLS_functionalComponentArgsRest(__VLS_71), false));
    var __VLS_74 = __VLS_73.slots.default;
    (scope.row.status);
    var __VLS_73;
}
var __VLS_67;
var __VLS_75 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_76 = __VLS_asFunctionalComponent(__VLS_75, new __VLS_75({
    prop: "description",
    label: "附加说明",
}));
var __VLS_77 = __VLS_76.apply(void 0, __spreadArray([{
        prop: "description",
        label: "附加说明",
    }], __VLS_functionalComponentArgsRest(__VLS_76), false));
var __VLS_80 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_81 = __VLS_asFunctionalComponent(__VLS_80, new __VLS_80({
    label: "操作",
    fixed: "right",
    width: "280",
}));
var __VLS_82 = __VLS_81.apply(void 0, __spreadArray([{
        label: "操作",
        fixed: "right",
        width: "280",
    }], __VLS_functionalComponentArgsRest(__VLS_81), false));
var __VLS_84 = __VLS_83.slots.default;
{
    var __VLS_85 = __VLS_83.slots.default;
    var scope_1 = __VLS_getSlotParameters(__VLS_85)[0];
    var __VLS_86 = {}.ElButton;
    /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
    // @ts-ignore
    ElButton;
    // @ts-ignore
    var __VLS_87 = __VLS_asFunctionalComponent(__VLS_86, new __VLS_86(__assign({ 'onClick': {} }, { type: "primary" })));
    var __VLS_88 = __VLS_87.apply(void 0, __spreadArray([__assign({ 'onClick': {} }, { type: "primary" })], __VLS_functionalComponentArgsRest(__VLS_87), false));
    var __VLS_90 = void 0;
    var __VLS_91 = void 0;
    var __VLS_92 = ({ click: {} },
        { onClick: function () {
                var _a = [];
                for (var _i = 0; _i < arguments.length; _i++) {
                    _a[_i] = arguments[_i];
                }
                var $event = _a[0];
                __VLS_ctx.handleViewDetail(scope_1.row);
                // @ts-ignore
                [handleViewDetail,];
            } });
    var __VLS_93 = __VLS_89.slots.default;
    var __VLS_89;
    if (scope_1.row.status !== '已完成') {
        var __VLS_94 = {}.ElButton;
        /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
        // @ts-ignore
        ElButton;
        // @ts-ignore
        var __VLS_95 = __VLS_asFunctionalComponent(__VLS_94, new __VLS_94(__assign({ 'onClick': {} }, { type: "warning" })));
        var __VLS_96 = __VLS_95.apply(void 0, __spreadArray([__assign({ 'onClick': {} }, { type: "warning" })], __VLS_functionalComponentArgsRest(__VLS_95), false));
        var __VLS_98 = void 0;
        var __VLS_99 = void 0;
        var __VLS_100 = ({ click: {} },
            { onClick: function () {
                    var _a = [];
                    for (var _i = 0; _i < arguments.length; _i++) {
                        _a[_i] = arguments[_i];
                    }
                    var $event = _a[0];
                    if (!(scope_1.row.status !== '已完成'))
                        return;
                    __VLS_ctx.handleEditOrder(scope_1.row);
                    // @ts-ignore
                    [handleEditOrder,];
                } });
        var __VLS_101 = __VLS_97.slots.default;
        var __VLS_97;
    }
    if (scope_1.row.status !== '已完成') {
        var __VLS_102 = {}.ElButton;
        /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
        // @ts-ignore
        ElButton;
        // @ts-ignore
        var __VLS_103 = __VLS_asFunctionalComponent(__VLS_102, new __VLS_102(__assign({ 'onClick': {} }, { type: "danger" })));
        var __VLS_104 = __VLS_103.apply(void 0, __spreadArray([__assign({ 'onClick': {} }, { type: "danger" })], __VLS_functionalComponentArgsRest(__VLS_103), false));
        var __VLS_106 = void 0;
        var __VLS_107 = void 0;
        var __VLS_108 = ({ click: {} },
            { onClick: function () {
                    var _a = [];
                    for (var _i = 0; _i < arguments.length; _i++) {
                        _a[_i] = arguments[_i];
                    }
                    var $event = _a[0];
                    if (!(scope_1.row.status !== '已完成'))
                        return;
                    __VLS_ctx.handleDeleteOrder(scope_1.row.id);
                    // @ts-ignore
                    [handleDeleteOrder,];
                } });
        var __VLS_109 = __VLS_105.slots.default;
        var __VLS_105;
    }
}
var __VLS_83;
var __VLS_32;
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "pagination" }));
__VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)(__assign({ class: "total-info" }));
(__VLS_ctx.totalOrders);
(__VLS_ctx.totalPages);
// @ts-ignore
[totalOrders, totalPages,];
var __VLS_110 = {}.ElPagination;
/** @type {[typeof __VLS_components.ElPagination, typeof __VLS_components.elPagination, ]} */ ;
// @ts-ignore
ElPagination;
// @ts-ignore
var __VLS_111 = __VLS_asFunctionalComponent(__VLS_110, new __VLS_110(__assign(__assign({ 'onSizeChange': {} }, { 'onCurrentChange': {} }), { currentPage: (__VLS_ctx.currentPage), pageSize: (__VLS_ctx.pageSize), pageSizes: ([10, 20, 50]), total: (__VLS_ctx.totalOrders), layout: "prev, pager, next, jumper, sizes" })));
var __VLS_112 = __VLS_111.apply(void 0, __spreadArray([__assign(__assign({ 'onSizeChange': {} }, { 'onCurrentChange': {} }), { currentPage: (__VLS_ctx.currentPage), pageSize: (__VLS_ctx.pageSize), pageSizes: ([10, 20, 50]), total: (__VLS_ctx.totalOrders), layout: "prev, pager, next, jumper, sizes" })], __VLS_functionalComponentArgsRest(__VLS_111), false));
var __VLS_114;
var __VLS_115;
var __VLS_116 = ({ sizeChange: {} },
    { onSizeChange: (__VLS_ctx.handleSizeChange) });
var __VLS_117 = ({ currentChange: {} },
    { onCurrentChange: (__VLS_ctx.handleCurrentChange) });
// @ts-ignore
[totalOrders, currentPage, pageSize, handleSizeChange, handleCurrentChange,];
var __VLS_113;
var __VLS_119 = {}.ElDialog;
/** @type {[typeof __VLS_components.ElDialog, typeof __VLS_components.elDialog, typeof __VLS_components.ElDialog, typeof __VLS_components.elDialog, ]} */ ;
// @ts-ignore
ElDialog;
// @ts-ignore
var __VLS_120 = __VLS_asFunctionalComponent(__VLS_119, new __VLS_119({
    modelValue: (__VLS_ctx.dialogVisible),
    title: (__VLS_ctx.isEditMode ? '编辑调拨单' : '新增调拨单'),
    width: "90%",
    top: "2vh",
    beforeClose: (__VLS_ctx.handleDialogClose),
}));
var __VLS_121 = __VLS_120.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.dialogVisible),
        title: (__VLS_ctx.isEditMode ? '编辑调拨单' : '新增调拨单'),
        width: "90%",
        top: "2vh",
        beforeClose: (__VLS_ctx.handleDialogClose),
    }], __VLS_functionalComponentArgsRest(__VLS_120), false));
var __VLS_123 = __VLS_122.slots.default;
// @ts-ignore
[dialogVisible, isEditMode, handleDialogClose,];
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "transfer-form-header" }, { style: {} }));
var __VLS_124 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_125 = __VLS_asFunctionalComponent(__VLS_124, new __VLS_124(__assign({ label: "调拨时间" }, { style: {} })));
var __VLS_126 = __VLS_125.apply(void 0, __spreadArray([__assign({ label: "调拨时间" }, { style: {} })], __VLS_functionalComponentArgsRest(__VLS_125), false));
var __VLS_128 = __VLS_127.slots.default;
var __VLS_129 = {}.ElDatePicker;
/** @type {[typeof __VLS_components.ElDatePicker, typeof __VLS_components.elDatePicker, ]} */ ;
// @ts-ignore
ElDatePicker;
// @ts-ignore
var __VLS_130 = __VLS_asFunctionalComponent(__VLS_129, new __VLS_129({
    modelValue: (__VLS_ctx.formData.transferTime),
    type: "date",
    placeholder: "选择日期",
}));
var __VLS_131 = __VLS_130.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.formData.transferTime),
        type: "date",
        placeholder: "选择日期",
    }], __VLS_functionalComponentArgsRest(__VLS_130), false));
// @ts-ignore
[formData,];
var __VLS_127;
var __VLS_134 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_135 = __VLS_asFunctionalComponent(__VLS_134, new __VLS_134(__assign({ label: "单据编号" }, { style: {} })));
var __VLS_136 = __VLS_135.apply(void 0, __spreadArray([__assign({ label: "单据编号" }, { style: {} })], __VLS_functionalComponentArgsRest(__VLS_135), false));
var __VLS_138 = __VLS_137.slots.default;
var __VLS_139 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_140 = __VLS_asFunctionalComponent(__VLS_139, new __VLS_139({
    modelValue: (__VLS_ctx.formData.orderNo),
    placeholder: "自动生成",
    disabled: true,
}));
var __VLS_141 = __VLS_140.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.formData.orderNo),
        placeholder: "自动生成",
        disabled: true,
    }], __VLS_functionalComponentArgsRest(__VLS_140), false));
// @ts-ignore
[formData,];
var __VLS_137;
var __VLS_144 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_145 = __VLS_asFunctionalComponent(__VLS_144, new __VLS_144(__assign({ label: "换入仓库" }, { style: {} })));
var __VLS_146 = __VLS_145.apply(void 0, __spreadArray([__assign({ label: "换入仓库" }, { style: {} })], __VLS_functionalComponentArgsRest(__VLS_145), false));
var __VLS_148 = __VLS_147.slots.default;
var __VLS_149 = {}.ElSelect;
/** @type {[typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, ]} */ ;
// @ts-ignore
ElSelect;
// @ts-ignore
var __VLS_150 = __VLS_asFunctionalComponent(__VLS_149, new __VLS_149({
    modelValue: (__VLS_ctx.formData.toWarehouse),
    placeholder: "请选择",
    disabled: (__VLS_ctx.isEditMode),
}));
var __VLS_151 = __VLS_150.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.formData.toWarehouse),
        placeholder: "请选择",
        disabled: (__VLS_ctx.isEditMode),
    }], __VLS_functionalComponentArgsRest(__VLS_150), false));
var __VLS_153 = __VLS_152.slots.default;
// @ts-ignore
[isEditMode, formData,];
for (var _i = 0, _a = __VLS_getVForSourceType((__VLS_ctx.warehouseList)); _i < _a.length; _i++) {
    var warehouse = _a[_i][0];
    // @ts-ignore
    [warehouseList,];
    var __VLS_154 = {}.ElOption;
    /** @type {[typeof __VLS_components.ElOption, typeof __VLS_components.elOption, ]} */ ;
    // @ts-ignore
    ElOption;
    // @ts-ignore
    var __VLS_155 = __VLS_asFunctionalComponent(__VLS_154, new __VLS_154({
        key: (warehouse.id),
        label: (warehouse.name),
        value: (warehouse.name),
    }));
    var __VLS_156 = __VLS_155.apply(void 0, __spreadArray([{
            key: (warehouse.id),
            label: (warehouse.name),
            value: (warehouse.name),
        }], __VLS_functionalComponentArgsRest(__VLS_155), false));
}
var __VLS_152;
var __VLS_147;
var __VLS_159 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_160 = __VLS_asFunctionalComponent(__VLS_159, new __VLS_159(__assign({ label: "换出仓库" }, { style: {} })));
var __VLS_161 = __VLS_160.apply(void 0, __spreadArray([__assign({ label: "换出仓库" }, { style: {} })], __VLS_functionalComponentArgsRest(__VLS_160), false));
var __VLS_163 = __VLS_162.slots.default;
var __VLS_164 = {}.ElSelect;
/** @type {[typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, ]} */ ;
// @ts-ignore
ElSelect;
// @ts-ignore
var __VLS_165 = __VLS_asFunctionalComponent(__VLS_164, new __VLS_164({
    modelValue: (__VLS_ctx.formData.fromWarehouse),
    placeholder: "请选择",
    disabled: (__VLS_ctx.isEditMode),
}));
var __VLS_166 = __VLS_165.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.formData.fromWarehouse),
        placeholder: "请选择",
        disabled: (__VLS_ctx.isEditMode),
    }], __VLS_functionalComponentArgsRest(__VLS_165), false));
var __VLS_168 = __VLS_167.slots.default;
// @ts-ignore
[isEditMode, formData,];
for (var _b = 0, _c = __VLS_getVForSourceType((__VLS_ctx.warehouseList)); _b < _c.length; _b++) {
    var warehouse = _c[_b][0];
    // @ts-ignore
    [warehouseList,];
    var __VLS_169 = {}.ElOption;
    /** @type {[typeof __VLS_components.ElOption, typeof __VLS_components.elOption, ]} */ ;
    // @ts-ignore
    ElOption;
    // @ts-ignore
    var __VLS_170 = __VLS_asFunctionalComponent(__VLS_169, new __VLS_169({
        key: (warehouse.id),
        label: (warehouse.name),
        value: (warehouse.name),
    }));
    var __VLS_171 = __VLS_170.apply(void 0, __spreadArray([{
            key: (warehouse.id),
            label: (warehouse.name),
            value: (warehouse.name),
        }], __VLS_functionalComponentArgsRest(__VLS_170), false));
}
var __VLS_167;
var __VLS_162;
var __VLS_174 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_175 = __VLS_asFunctionalComponent(__VLS_174, new __VLS_174(__assign({ label: "经办人" }, { style: {} })));
var __VLS_176 = __VLS_175.apply(void 0, __spreadArray([__assign({ label: "经办人" }, { style: {} })], __VLS_functionalComponentArgsRest(__VLS_175), false));
var __VLS_178 = __VLS_177.slots.default;
var __VLS_179 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_180 = __VLS_asFunctionalComponent(__VLS_179, new __VLS_179({
    modelValue: (__VLS_ctx.formData.handler),
    placeholder: "请输入",
}));
var __VLS_181 = __VLS_180.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.formData.handler),
        placeholder: "请输入",
    }], __VLS_functionalComponentArgsRest(__VLS_180), false));
// @ts-ignore
[formData,];
var __VLS_177;
var __VLS_184 = {}.ElFormItem;
/** @type {[typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, typeof __VLS_components.ElFormItem, typeof __VLS_components.elFormItem, ]} */ ;
// @ts-ignore
ElFormItem;
// @ts-ignore
var __VLS_185 = __VLS_asFunctionalComponent(__VLS_184, new __VLS_184(__assign({ label: "备注" }, { style: {} })));
var __VLS_186 = __VLS_185.apply(void 0, __spreadArray([__assign({ label: "备注" }, { style: {} })], __VLS_functionalComponentArgsRest(__VLS_185), false));
var __VLS_188 = __VLS_187.slots.default;
var __VLS_189 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_190 = __VLS_asFunctionalComponent(__VLS_189, new __VLS_189({
    modelValue: (__VLS_ctx.formData.description),
    placeholder: "请输入备注",
}));
var __VLS_191 = __VLS_190.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.formData.description),
        placeholder: "请输入备注",
    }], __VLS_functionalComponentArgsRest(__VLS_190), false));
// @ts-ignore
[formData,];
var __VLS_187;
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "transfer-table-header" }, { style: {} }));
__VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)({});
var __VLS_194 = {}.ElButton;
/** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
// @ts-ignore
ElButton;
// @ts-ignore
var __VLS_195 = __VLS_asFunctionalComponent(__VLS_194, new __VLS_194(__assign(__assign({ 'onClick': {} }, { type: "primary", icon: "el-icon-plus", size: "mini" }), { style: {} })));
var __VLS_196 = __VLS_195.apply(void 0, __spreadArray([__assign(__assign({ 'onClick': {} }, { type: "primary", icon: "el-icon-plus", size: "mini" }), { style: {} })], __VLS_functionalComponentArgsRest(__VLS_195), false));
var __VLS_198;
var __VLS_199;
var __VLS_200 = ({ click: {} },
    { onClick: (__VLS_ctx.addProductRow) });
var __VLS_201 = __VLS_197.slots.default;
// @ts-ignore
[addProductRow,];
var __VLS_197;
var __VLS_202 = {}.ElTable;
/** @type {[typeof __VLS_components.ElTable, typeof __VLS_components.elTable, typeof __VLS_components.ElTable, typeof __VLS_components.elTable, ]} */ ;
// @ts-ignore
ElTable;
// @ts-ignore
var __VLS_203 = __VLS_asFunctionalComponent(__VLS_202, new __VLS_202(__assign({ data: (__VLS_ctx.formData.productRows), border: true, size: "small" }, { style: {} })));
var __VLS_204 = __VLS_203.apply(void 0, __spreadArray([__assign({ data: (__VLS_ctx.formData.productRows), border: true, size: "small" }, { style: {} })], __VLS_functionalComponentArgsRest(__VLS_203), false));
var __VLS_206 = __VLS_205.slots.default;
// @ts-ignore
[formData,];
var __VLS_207 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_208 = __VLS_asFunctionalComponent(__VLS_207, new __VLS_207({
    label: "序号",
    type: "index",
    width: "60",
    align: "center",
}));
var __VLS_209 = __VLS_208.apply(void 0, __spreadArray([{
        label: "序号",
        type: "index",
        width: "60",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_208), false));
var __VLS_212 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_213 = __VLS_asFunctionalComponent(__VLS_212, new __VLS_212({
    label: "产品编号",
    align: "center",
}));
var __VLS_214 = __VLS_213.apply(void 0, __spreadArray([{
        label: "产品编号",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_213), false));
var __VLS_216 = __VLS_215.slots.default;
{
    var __VLS_217 = __VLS_215.slots.default;
    var scope = __VLS_getSlotParameters(__VLS_217)[0];
    var __VLS_218 = {}.ElInput;
    /** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
    // @ts-ignore
    ElInput;
    // @ts-ignore
    var __VLS_219 = __VLS_asFunctionalComponent(__VLS_218, new __VLS_218({
        modelValue: (scope.row.productNo),
        placeholder: "请输入",
    }));
    var __VLS_220 = __VLS_219.apply(void 0, __spreadArray([{
            modelValue: (scope.row.productNo),
            placeholder: "请输入",
        }], __VLS_functionalComponentArgsRest(__VLS_219), false));
}
var __VLS_215;
var __VLS_223 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_224 = __VLS_asFunctionalComponent(__VLS_223, new __VLS_223({
    label: "产品名称",
    align: "center",
}));
var __VLS_225 = __VLS_224.apply(void 0, __spreadArray([{
        label: "产品名称",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_224), false));
var __VLS_227 = __VLS_226.slots.default;
{
    var __VLS_228 = __VLS_226.slots.default;
    var scope_2 = __VLS_getSlotParameters(__VLS_228)[0];
    var __VLS_229 = {}.ElSelect;
    /** @type {[typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, ]} */ ;
    // @ts-ignore
    ElSelect;
    // @ts-ignore
    var __VLS_230 = __VLS_asFunctionalComponent(__VLS_229, new __VLS_229(__assign({ 'onChange': {} }, { modelValue: (scope_2.row.productName), placeholder: "请选择" })));
    var __VLS_231 = __VLS_230.apply(void 0, __spreadArray([__assign({ 'onChange': {} }, { modelValue: (scope_2.row.productName), placeholder: "请选择" })], __VLS_functionalComponentArgsRest(__VLS_230), false));
    var __VLS_233 = void 0;
    var __VLS_234 = void 0;
    var __VLS_235 = ({ change: {} },
        { onChange: function () {
                var _a = [];
                for (var _i = 0; _i < arguments.length; _i++) {
                    _a[_i] = arguments[_i];
                }
                var $event = _a[0];
                __VLS_ctx.handleProductChange(scope_2.row);
                // @ts-ignore
                [handleProductChange,];
            } });
    var __VLS_236 = __VLS_232.slots.default;
    for (var _d = 0, _e = __VLS_getVForSourceType((__VLS_ctx.productList)); _d < _e.length; _d++) {
        var p = _e[_d][0];
        // @ts-ignore
        [productList,];
        var __VLS_237 = {}.ElOption;
        /** @type {[typeof __VLS_components.ElOption, typeof __VLS_components.elOption, ]} */ ;
        // @ts-ignore
        ElOption;
        // @ts-ignore
        var __VLS_238 = __VLS_asFunctionalComponent(__VLS_237, new __VLS_237({
            key: (p.id),
            label: (p.name),
            value: (p.name),
        }));
        var __VLS_239 = __VLS_238.apply(void 0, __spreadArray([{
                key: (p.id),
                label: (p.name),
                value: (p.name),
            }], __VLS_functionalComponentArgsRest(__VLS_238), false));
    }
    var __VLS_232;
}
var __VLS_226;
var __VLS_242 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_243 = __VLS_asFunctionalComponent(__VLS_242, new __VLS_242({
    label: "归属品牌",
    align: "center",
}));
var __VLS_244 = __VLS_243.apply(void 0, __spreadArray([{
        label: "归属品牌",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_243), false));
var __VLS_246 = __VLS_245.slots.default;
{
    var __VLS_247 = __VLS_245.slots.default;
    var scope = __VLS_getSlotParameters(__VLS_247)[0];
    var __VLS_248 = {}.ElInput;
    /** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
    // @ts-ignore
    ElInput;
    // @ts-ignore
    var __VLS_249 = __VLS_asFunctionalComponent(__VLS_248, new __VLS_248({
        modelValue: (scope.row.brand),
        placeholder: "请输入",
    }));
    var __VLS_250 = __VLS_249.apply(void 0, __spreadArray([{
            modelValue: (scope.row.brand),
            placeholder: "请输入",
        }], __VLS_functionalComponentArgsRest(__VLS_249), false));
}
var __VLS_245;
var __VLS_253 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_254 = __VLS_asFunctionalComponent(__VLS_253, new __VLS_253({
    label: "规格",
    align: "center",
}));
var __VLS_255 = __VLS_254.apply(void 0, __spreadArray([{
        label: "规格",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_254), false));
var __VLS_257 = __VLS_256.slots.default;
{
    var __VLS_258 = __VLS_256.slots.default;
    var scope = __VLS_getSlotParameters(__VLS_258)[0];
    var __VLS_259 = {}.ElInput;
    /** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
    // @ts-ignore
    ElInput;
    // @ts-ignore
    var __VLS_260 = __VLS_asFunctionalComponent(__VLS_259, new __VLS_259({
        modelValue: (scope.row.spec),
        placeholder: "请输入",
    }));
    var __VLS_261 = __VLS_260.apply(void 0, __spreadArray([{
            modelValue: (scope.row.spec),
            placeholder: "请输入",
        }], __VLS_functionalComponentArgsRest(__VLS_260), false));
}
var __VLS_256;
var __VLS_264 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_265 = __VLS_asFunctionalComponent(__VLS_264, new __VLS_264({
    label: "类型",
    align: "center",
}));
var __VLS_266 = __VLS_265.apply(void 0, __spreadArray([{
        label: "类型",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_265), false));
var __VLS_268 = __VLS_267.slots.default;
{
    var __VLS_269 = __VLS_267.slots.default;
    var scope = __VLS_getSlotParameters(__VLS_269)[0];
    var __VLS_270 = {}.ElInput;
    /** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
    // @ts-ignore
    ElInput;
    // @ts-ignore
    var __VLS_271 = __VLS_asFunctionalComponent(__VLS_270, new __VLS_270({
        modelValue: (scope.row.type),
        placeholder: "请输入",
    }));
    var __VLS_272 = __VLS_271.apply(void 0, __spreadArray([{
            modelValue: (scope.row.type),
            placeholder: "请输入",
        }], __VLS_functionalComponentArgsRest(__VLS_271), false));
}
var __VLS_267;
var __VLS_275 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_276 = __VLS_asFunctionalComponent(__VLS_275, new __VLS_275({
    label: "零售价",
    align: "center",
}));
var __VLS_277 = __VLS_276.apply(void 0, __spreadArray([{
        label: "零售价",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_276), false));
var __VLS_279 = __VLS_278.slots.default;
{
    var __VLS_280 = __VLS_278.slots.default;
    var scope = __VLS_getSlotParameters(__VLS_280)[0];
    var __VLS_281 = {}.ElInput;
    /** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
    // @ts-ignore
    ElInput;
    // @ts-ignore
    var __VLS_282 = __VLS_asFunctionalComponent(__VLS_281, new __VLS_281({
        modelValue: (scope.row.retailPrice),
        placeholder: "请输入",
    }));
    var __VLS_283 = __VLS_282.apply(void 0, __spreadArray([{
            modelValue: (scope.row.retailPrice),
            placeholder: "请输入",
        }], __VLS_functionalComponentArgsRest(__VLS_282), false));
}
var __VLS_278;
var __VLS_286 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_287 = __VLS_asFunctionalComponent(__VLS_286, new __VLS_286({
    label: "折扣",
    align: "center",
}));
var __VLS_288 = __VLS_287.apply(void 0, __spreadArray([{
        label: "折扣",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_287), false));
var __VLS_290 = __VLS_289.slots.default;
{
    var __VLS_291 = __VLS_289.slots.default;
    var scope = __VLS_getSlotParameters(__VLS_291)[0];
    var __VLS_292 = {}.ElInput;
    /** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
    // @ts-ignore
    ElInput;
    // @ts-ignore
    var __VLS_293 = __VLS_asFunctionalComponent(__VLS_292, new __VLS_292({
        modelValue: (scope.row.discount),
        placeholder: "请输入",
    }));
    var __VLS_294 = __VLS_293.apply(void 0, __spreadArray([{
            modelValue: (scope.row.discount),
            placeholder: "请输入",
        }], __VLS_functionalComponentArgsRest(__VLS_293), false));
}
var __VLS_289;
var __VLS_297 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_298 = __VLS_asFunctionalComponent(__VLS_297, new __VLS_297({
    label: "折扣价",
    align: "center",
}));
var __VLS_299 = __VLS_298.apply(void 0, __spreadArray([{
        label: "折扣价",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_298), false));
var __VLS_301 = __VLS_300.slots.default;
{
    var __VLS_302 = __VLS_300.slots.default;
    var scope = __VLS_getSlotParameters(__VLS_302)[0];
    var __VLS_303 = {}.ElInput;
    /** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
    // @ts-ignore
    ElInput;
    // @ts-ignore
    var __VLS_304 = __VLS_asFunctionalComponent(__VLS_303, new __VLS_303({
        modelValue: (scope.row.discountPrice),
        placeholder: "请输入",
    }));
    var __VLS_305 = __VLS_304.apply(void 0, __spreadArray([{
            modelValue: (scope.row.discountPrice),
            placeholder: "请输入",
        }], __VLS_functionalComponentArgsRest(__VLS_304), false));
}
var __VLS_300;
var __VLS_308 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_309 = __VLS_asFunctionalComponent(__VLS_308, new __VLS_308({
    label: "特价",
    align: "center",
}));
var __VLS_310 = __VLS_309.apply(void 0, __spreadArray([{
        label: "特价",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_309), false));
var __VLS_312 = __VLS_311.slots.default;
{
    var __VLS_313 = __VLS_311.slots.default;
    var scope = __VLS_getSlotParameters(__VLS_313)[0];
    var __VLS_314 = {}.ElInput;
    /** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
    // @ts-ignore
    ElInput;
    // @ts-ignore
    var __VLS_315 = __VLS_asFunctionalComponent(__VLS_314, new __VLS_314({
        modelValue: (scope.row.specialPrice),
        placeholder: "请输入",
    }));
    var __VLS_316 = __VLS_315.apply(void 0, __spreadArray([{
            modelValue: (scope.row.specialPrice),
            placeholder: "请输入",
        }], __VLS_functionalComponentArgsRest(__VLS_315), false));
}
var __VLS_311;
var __VLS_319 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_320 = __VLS_asFunctionalComponent(__VLS_319, new __VLS_319({
    label: "秒杀价",
    align: "center",
}));
var __VLS_321 = __VLS_320.apply(void 0, __spreadArray([{
        label: "秒杀价",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_320), false));
var __VLS_323 = __VLS_322.slots.default;
{
    var __VLS_324 = __VLS_322.slots.default;
    var scope = __VLS_getSlotParameters(__VLS_324)[0];
    var __VLS_325 = {}.ElInput;
    /** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
    // @ts-ignore
    ElInput;
    // @ts-ignore
    var __VLS_326 = __VLS_asFunctionalComponent(__VLS_325, new __VLS_325({
        modelValue: (scope.row.seckillPrice),
        placeholder: "请输入",
    }));
    var __VLS_327 = __VLS_326.apply(void 0, __spreadArray([{
            modelValue: (scope.row.seckillPrice),
            placeholder: "请输入",
        }], __VLS_functionalComponentArgsRest(__VLS_326), false));
}
var __VLS_322;
var __VLS_330 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_331 = __VLS_asFunctionalComponent(__VLS_330, new __VLS_330({
    label: "调出数量",
    align: "center",
}));
var __VLS_332 = __VLS_331.apply(void 0, __spreadArray([{
        label: "调出数量",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_331), false));
var __VLS_334 = __VLS_333.slots.default;
{
    var __VLS_335 = __VLS_333.slots.default;
    var scope = __VLS_getSlotParameters(__VLS_335)[0];
    var __VLS_336 = {}.ElInput;
    /** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
    // @ts-ignore
    ElInput;
    // @ts-ignore
    var __VLS_337 = __VLS_asFunctionalComponent(__VLS_336, new __VLS_336({
        modelValue: (scope.row.quantity),
        modelModifiers: { number: true, },
        type: "number",
        min: "1",
        placeholder: "请输入",
    }));
    var __VLS_338 = __VLS_337.apply(void 0, __spreadArray([{
            modelValue: (scope.row.quantity),
            modelModifiers: { number: true, },
            type: "number",
            min: "1",
            placeholder: "请输入",
        }], __VLS_functionalComponentArgsRest(__VLS_337), false));
}
var __VLS_333;
var __VLS_341 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_342 = __VLS_asFunctionalComponent(__VLS_341, new __VLS_341({
    label: "仓库",
    align: "center",
}));
var __VLS_343 = __VLS_342.apply(void 0, __spreadArray([{
        label: "仓库",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_342), false));
var __VLS_345 = __VLS_344.slots.default;
{
    var __VLS_346 = __VLS_344.slots.default;
    var __VLS_347 = {}.ElInput;
    /** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
    // @ts-ignore
    ElInput;
    // @ts-ignore
    var __VLS_348 = __VLS_asFunctionalComponent(__VLS_347, new __VLS_347({
        value: (__VLS_ctx.formData.fromWarehouse),
        disabled: true,
    }));
    var __VLS_349 = __VLS_348.apply(void 0, __spreadArray([{
            value: (__VLS_ctx.formData.fromWarehouse),
            disabled: true,
        }], __VLS_functionalComponentArgsRest(__VLS_348), false));
    // @ts-ignore
    [formData,];
}
var __VLS_344;
var __VLS_352 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_353 = __VLS_asFunctionalComponent(__VLS_352, new __VLS_352({
    label: "库存",
    align: "center",
}));
var __VLS_354 = __VLS_353.apply(void 0, __spreadArray([{
        label: "库存",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_353), false));
var __VLS_356 = __VLS_355.slots.default;
{
    var __VLS_357 = __VLS_355.slots.default;
    var scope = __VLS_getSlotParameters(__VLS_357)[0];
    var __VLS_358 = {}.ElInput;
    /** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
    // @ts-ignore
    ElInput;
    // @ts-ignore
    var __VLS_359 = __VLS_asFunctionalComponent(__VLS_358, new __VLS_358({
        modelValue: (scope.row.stock),
        placeholder: "请输入",
    }));
    var __VLS_360 = __VLS_359.apply(void 0, __spreadArray([{
            modelValue: (scope.row.stock),
            placeholder: "请输入",
        }], __VLS_functionalComponentArgsRest(__VLS_359), false));
}
var __VLS_355;
var __VLS_363 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_364 = __VLS_asFunctionalComponent(__VLS_363, new __VLS_363({
    label: "总金额",
    align: "center",
}));
var __VLS_365 = __VLS_364.apply(void 0, __spreadArray([{
        label: "总金额",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_364), false));
var __VLS_367 = __VLS_366.slots.default;
{
    var __VLS_368 = __VLS_366.slots.default;
    var scope = __VLS_getSlotParameters(__VLS_368)[0];
    var __VLS_369 = {}.ElInput;
    /** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
    // @ts-ignore
    ElInput;
    // @ts-ignore
    var __VLS_370 = __VLS_asFunctionalComponent(__VLS_369, new __VLS_369({
        modelValue: (scope.row.totalAmount),
        placeholder: "自动计算",
    }));
    var __VLS_371 = __VLS_370.apply(void 0, __spreadArray([{
            modelValue: (scope.row.totalAmount),
            placeholder: "自动计算",
        }], __VLS_functionalComponentArgsRest(__VLS_370), false));
}
var __VLS_366;
var __VLS_374 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_375 = __VLS_asFunctionalComponent(__VLS_374, new __VLS_374({
    label: "备注",
    align: "center",
}));
var __VLS_376 = __VLS_375.apply(void 0, __spreadArray([{
        label: "备注",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_375), false));
var __VLS_378 = __VLS_377.slots.default;
{
    var __VLS_379 = __VLS_377.slots.default;
    var scope = __VLS_getSlotParameters(__VLS_379)[0];
    var __VLS_380 = {}.ElInput;
    /** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
    // @ts-ignore
    ElInput;
    // @ts-ignore
    var __VLS_381 = __VLS_asFunctionalComponent(__VLS_380, new __VLS_380({
        modelValue: (scope.row.remark),
        placeholder: "请输入",
    }));
    var __VLS_382 = __VLS_381.apply(void 0, __spreadArray([{
            modelValue: (scope.row.remark),
            placeholder: "请输入",
        }], __VLS_functionalComponentArgsRest(__VLS_381), false));
}
var __VLS_377;
var __VLS_385 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_386 = __VLS_asFunctionalComponent(__VLS_385, new __VLS_385({
    label: "操作",
    width: "80",
    align: "center",
}));
var __VLS_387 = __VLS_386.apply(void 0, __spreadArray([{
        label: "操作",
        width: "80",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_386), false));
var __VLS_389 = __VLS_388.slots.default;
{
    var __VLS_390 = __VLS_388.slots.default;
    var scope_3 = __VLS_getSlotParameters(__VLS_390)[0];
    var __VLS_391 = {}.ElButton;
    /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
    // @ts-ignore
    ElButton;
    // @ts-ignore
    var __VLS_392 = __VLS_asFunctionalComponent(__VLS_391, new __VLS_391(__assign({ 'onClick': {} }, { type: "danger", icon: "el-icon-delete", size: "mini" })));
    var __VLS_393 = __VLS_392.apply(void 0, __spreadArray([__assign({ 'onClick': {} }, { type: "danger", icon: "el-icon-delete", size: "mini" })], __VLS_functionalComponentArgsRest(__VLS_392), false));
    var __VLS_395 = void 0;
    var __VLS_396 = void 0;
    var __VLS_397 = ({ click: {} },
        { onClick: function () {
                var _a = [];
                for (var _i = 0; _i < arguments.length; _i++) {
                    _a[_i] = arguments[_i];
                }
                var $event = _a[0];
                __VLS_ctx.removeProductRow(scope_3.row);
                // @ts-ignore
                [removeProductRow,];
            } });
    var __VLS_394;
}
var __VLS_388;
var __VLS_205;
{
    var __VLS_399 = __VLS_122.slots.footer;
    var __VLS_400 = {}.ElButton;
    /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
    // @ts-ignore
    ElButton;
    // @ts-ignore
    var __VLS_401 = __VLS_asFunctionalComponent(__VLS_400, new __VLS_400(__assign({ 'onClick': {} })));
    var __VLS_402 = __VLS_401.apply(void 0, __spreadArray([__assign({ 'onClick': {} })], __VLS_functionalComponentArgsRest(__VLS_401), false));
    var __VLS_404 = void 0;
    var __VLS_405 = void 0;
    var __VLS_406 = ({ click: {} },
        { onClick: (__VLS_ctx.handleDialogClose) });
    var __VLS_407 = __VLS_403.slots.default;
    // @ts-ignore
    [handleDialogClose,];
    var __VLS_403;
    var __VLS_408 = {}.ElButton;
    /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
    // @ts-ignore
    ElButton;
    // @ts-ignore
    var __VLS_409 = __VLS_asFunctionalComponent(__VLS_408, new __VLS_408(__assign(__assign({ 'onClick': {} }, { type: "primary" }), { style: {} })));
    var __VLS_410 = __VLS_409.apply(void 0, __spreadArray([__assign(__assign({ 'onClick': {} }, { type: "primary" }), { style: {} })], __VLS_functionalComponentArgsRest(__VLS_409), false));
    var __VLS_412 = void 0;
    var __VLS_413 = void 0;
    var __VLS_414 = ({ click: {} },
        { onClick: (__VLS_ctx.handleSaveOrder) });
    var __VLS_415 = __VLS_411.slots.default;
    // @ts-ignore
    [handleSaveOrder,];
    var __VLS_411;
    var __VLS_416 = {}.ElButton;
    /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
    // @ts-ignore
    ElButton;
    // @ts-ignore
    var __VLS_417 = __VLS_asFunctionalComponent(__VLS_416, new __VLS_416(__assign({ 'onClick': {} }, { type: "success" })));
    var __VLS_418 = __VLS_417.apply(void 0, __spreadArray([__assign({ 'onClick': {} }, { type: "success" })], __VLS_functionalComponentArgsRest(__VLS_417), false));
    var __VLS_420 = void 0;
    var __VLS_421 = void 0;
    var __VLS_422 = ({ click: {} },
        { onClick: (__VLS_ctx.handleSaveAsDraft) });
    var __VLS_423 = __VLS_419.slots.default;
    // @ts-ignore
    [handleSaveAsDraft,];
    var __VLS_419;
}
var __VLS_122;
var __VLS_424 = {}.ElDialog;
/** @type {[typeof __VLS_components.ElDialog, typeof __VLS_components.elDialog, typeof __VLS_components.ElDialog, typeof __VLS_components.elDialog, ]} */ ;
// @ts-ignore
ElDialog;
// @ts-ignore
var __VLS_425 = __VLS_asFunctionalComponent(__VLS_424, new __VLS_424({
    modelValue: (__VLS_ctx.detailVisible),
    title: "调拨单明细",
    width: "500px",
}));
var __VLS_426 = __VLS_425.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.detailVisible),
        title: "调拨单明细",
        width: "500px",
    }], __VLS_functionalComponentArgsRest(__VLS_425), false));
var __VLS_428 = __VLS_427.slots.default;
// @ts-ignore
[detailVisible,];
var __VLS_429 = {}.ElDescriptions;
/** @type {[typeof __VLS_components.ElDescriptions, typeof __VLS_components.elDescriptions, typeof __VLS_components.ElDescriptions, typeof __VLS_components.elDescriptions, ]} */ ;
// @ts-ignore
ElDescriptions;
// @ts-ignore
var __VLS_430 = __VLS_asFunctionalComponent(__VLS_429, new __VLS_429({
    column: "1",
    border: true,
}));
var __VLS_431 = __VLS_430.apply(void 0, __spreadArray([{
        column: "1",
        border: true,
    }], __VLS_functionalComponentArgsRest(__VLS_430), false));
var __VLS_433 = __VLS_432.slots.default;
var __VLS_434 = {}.ElDescriptionsItem;
/** @type {[typeof __VLS_components.ElDescriptionsItem, typeof __VLS_components.elDescriptionsItem, typeof __VLS_components.ElDescriptionsItem, typeof __VLS_components.elDescriptionsItem, ]} */ ;
// @ts-ignore
ElDescriptionsItem;
// @ts-ignore
var __VLS_435 = __VLS_asFunctionalComponent(__VLS_434, new __VLS_434({
    label: "调拨单号",
}));
var __VLS_436 = __VLS_435.apply(void 0, __spreadArray([{
        label: "调拨单号",
    }], __VLS_functionalComponentArgsRest(__VLS_435), false));
var __VLS_438 = __VLS_437.slots.default;
(__VLS_ctx.currentOrder.orderNo);
// @ts-ignore
[currentOrder,];
var __VLS_437;
var __VLS_439 = {}.ElDescriptionsItem;
/** @type {[typeof __VLS_components.ElDescriptionsItem, typeof __VLS_components.elDescriptionsItem, typeof __VLS_components.ElDescriptionsItem, typeof __VLS_components.elDescriptionsItem, ]} */ ;
// @ts-ignore
ElDescriptionsItem;
// @ts-ignore
var __VLS_440 = __VLS_asFunctionalComponent(__VLS_439, new __VLS_439({
    label: "调拨时间",
}));
var __VLS_441 = __VLS_440.apply(void 0, __spreadArray([{
        label: "调拨时间",
    }], __VLS_functionalComponentArgsRest(__VLS_440), false));
var __VLS_443 = __VLS_442.slots.default;
(__VLS_ctx.currentOrder.transferTime);
// @ts-ignore
[currentOrder,];
var __VLS_442;
var __VLS_444 = {}.ElDescriptionsItem;
/** @type {[typeof __VLS_components.ElDescriptionsItem, typeof __VLS_components.elDescriptionsItem, typeof __VLS_components.ElDescriptionsItem, typeof __VLS_components.elDescriptionsItem, ]} */ ;
// @ts-ignore
ElDescriptionsItem;
// @ts-ignore
var __VLS_445 = __VLS_asFunctionalComponent(__VLS_444, new __VLS_444({
    label: "发货仓库",
}));
var __VLS_446 = __VLS_445.apply(void 0, __spreadArray([{
        label: "发货仓库",
    }], __VLS_functionalComponentArgsRest(__VLS_445), false));
var __VLS_448 = __VLS_447.slots.default;
(__VLS_ctx.currentOrder.fromWarehouse);
// @ts-ignore
[currentOrder,];
var __VLS_447;
var __VLS_449 = {}.ElDescriptionsItem;
/** @type {[typeof __VLS_components.ElDescriptionsItem, typeof __VLS_components.elDescriptionsItem, typeof __VLS_components.ElDescriptionsItem, typeof __VLS_components.elDescriptionsItem, ]} */ ;
// @ts-ignore
ElDescriptionsItem;
// @ts-ignore
var __VLS_450 = __VLS_asFunctionalComponent(__VLS_449, new __VLS_449({
    label: "收货仓库",
}));
var __VLS_451 = __VLS_450.apply(void 0, __spreadArray([{
        label: "收货仓库",
    }], __VLS_functionalComponentArgsRest(__VLS_450), false));
var __VLS_453 = __VLS_452.slots.default;
(__VLS_ctx.currentOrder.toWarehouse);
// @ts-ignore
[currentOrder,];
var __VLS_452;
var __VLS_454 = {}.ElDescriptionsItem;
/** @type {[typeof __VLS_components.ElDescriptionsItem, typeof __VLS_components.elDescriptionsItem, typeof __VLS_components.ElDescriptionsItem, typeof __VLS_components.elDescriptionsItem, ]} */ ;
// @ts-ignore
ElDescriptionsItem;
// @ts-ignore
var __VLS_455 = __VLS_asFunctionalComponent(__VLS_454, new __VLS_454({
    label: "调拨产品",
}));
var __VLS_456 = __VLS_455.apply(void 0, __spreadArray([{
        label: "调拨产品",
    }], __VLS_functionalComponentArgsRest(__VLS_455), false));
var __VLS_458 = __VLS_457.slots.default;
(__VLS_ctx.currentOrder.productName);
// @ts-ignore
[currentOrder,];
var __VLS_457;
var __VLS_459 = {}.ElDescriptionsItem;
/** @type {[typeof __VLS_components.ElDescriptionsItem, typeof __VLS_components.elDescriptionsItem, typeof __VLS_components.ElDescriptionsItem, typeof __VLS_components.elDescriptionsItem, ]} */ ;
// @ts-ignore
ElDescriptionsItem;
// @ts-ignore
var __VLS_460 = __VLS_asFunctionalComponent(__VLS_459, new __VLS_459({
    label: "调拨数量",
}));
var __VLS_461 = __VLS_460.apply(void 0, __spreadArray([{
        label: "调拨数量",
    }], __VLS_functionalComponentArgsRest(__VLS_460), false));
var __VLS_463 = __VLS_462.slots.default;
(__VLS_ctx.currentOrder.quantity);
// @ts-ignore
[currentOrder,];
var __VLS_462;
var __VLS_464 = {}.ElDescriptionsItem;
/** @type {[typeof __VLS_components.ElDescriptionsItem, typeof __VLS_components.elDescriptionsItem, typeof __VLS_components.ElDescriptionsItem, typeof __VLS_components.elDescriptionsItem, ]} */ ;
// @ts-ignore
ElDescriptionsItem;
// @ts-ignore
var __VLS_465 = __VLS_asFunctionalComponent(__VLS_464, new __VLS_464({
    label: "状态",
}));
var __VLS_466 = __VLS_465.apply(void 0, __spreadArray([{
        label: "状态",
    }], __VLS_functionalComponentArgsRest(__VLS_465), false));
var __VLS_468 = __VLS_467.slots.default;
var __VLS_469 = {}.ElTag;
/** @type {[typeof __VLS_components.ElTag, typeof __VLS_components.elTag, typeof __VLS_components.ElTag, typeof __VLS_components.elTag, ]} */ ;
// @ts-ignore
ElTag;
// @ts-ignore
var __VLS_470 = __VLS_asFunctionalComponent(__VLS_469, new __VLS_469({
    type: (__VLS_ctx.currentOrder.status === '已完成' ? 'success' : 'warning'),
}));
var __VLS_471 = __VLS_470.apply(void 0, __spreadArray([{
        type: (__VLS_ctx.currentOrder.status === '已完成' ? 'success' : 'warning'),
    }], __VLS_functionalComponentArgsRest(__VLS_470), false));
var __VLS_473 = __VLS_472.slots.default;
// @ts-ignore
[currentOrder,];
(__VLS_ctx.currentOrder.status);
// @ts-ignore
[currentOrder,];
var __VLS_472;
var __VLS_467;
var __VLS_474 = {}.ElDescriptionsItem;
/** @type {[typeof __VLS_components.ElDescriptionsItem, typeof __VLS_components.elDescriptionsItem, typeof __VLS_components.ElDescriptionsItem, typeof __VLS_components.elDescriptionsItem, ]} */ ;
// @ts-ignore
ElDescriptionsItem;
// @ts-ignore
var __VLS_475 = __VLS_asFunctionalComponent(__VLS_474, new __VLS_474({
    label: "附加说明",
}));
var __VLS_476 = __VLS_475.apply(void 0, __spreadArray([{
        label: "附加说明",
    }], __VLS_functionalComponentArgsRest(__VLS_475), false));
var __VLS_478 = __VLS_477.slots.default;
(__VLS_ctx.currentOrder.description || '无');
// @ts-ignore
[currentOrder,];
var __VLS_477;
var __VLS_432;
var __VLS_427;
var __VLS_479 = {}.ElDialog;
/** @type {[typeof __VLS_components.ElDialog, typeof __VLS_components.elDialog, typeof __VLS_components.ElDialog, typeof __VLS_components.elDialog, ]} */ ;
// @ts-ignore
ElDialog;
// @ts-ignore
var __VLS_480 = __VLS_asFunctionalComponent(__VLS_479, new __VLS_479({
    modelValue: (__VLS_ctx.deleteConfirmVisible),
    title: "确认删除",
    width: "300px",
}));
var __VLS_481 = __VLS_480.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.deleteConfirmVisible),
        title: "确认删除",
        width: "300px",
    }], __VLS_functionalComponentArgsRest(__VLS_480), false));
var __VLS_483 = __VLS_482.slots.default;
// @ts-ignore
[deleteConfirmVisible,];
__VLS_asFunctionalElement(__VLS_elements.p, __VLS_elements.p)({});
{
    var __VLS_484 = __VLS_482.slots.footer;
    var __VLS_485 = {}.ElButton;
    /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
    // @ts-ignore
    ElButton;
    // @ts-ignore
    var __VLS_486 = __VLS_asFunctionalComponent(__VLS_485, new __VLS_485(__assign({ 'onClick': {} })));
    var __VLS_487 = __VLS_486.apply(void 0, __spreadArray([__assign({ 'onClick': {} })], __VLS_functionalComponentArgsRest(__VLS_486), false));
    var __VLS_489 = void 0;
    var __VLS_490 = void 0;
    var __VLS_491 = ({ click: {} },
        { onClick: function () {
                var _a = [];
                for (var _i = 0; _i < arguments.length; _i++) {
                    _a[_i] = arguments[_i];
                }
                var $event = _a[0];
                __VLS_ctx.deleteConfirmVisible = false;
                // @ts-ignore
                [deleteConfirmVisible,];
            } });
    var __VLS_492 = __VLS_488.slots.default;
    var __VLS_488;
    var __VLS_493 = {}.ElButton;
    /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
    // @ts-ignore
    ElButton;
    // @ts-ignore
    var __VLS_494 = __VLS_asFunctionalComponent(__VLS_493, new __VLS_493(__assign({ 'onClick': {} }, { type: "danger" })));
    var __VLS_495 = __VLS_494.apply(void 0, __spreadArray([__assign({ 'onClick': {} }, { type: "danger" })], __VLS_functionalComponentArgsRest(__VLS_494), false));
    var __VLS_497 = void 0;
    var __VLS_498 = void 0;
    var __VLS_499 = ({ click: {} },
        { onClick: (__VLS_ctx.confirmDelete) });
    var __VLS_500 = __VLS_496.slots.default;
    // @ts-ignore
    [confirmDelete,];
    var __VLS_496;
}
var __VLS_482;
/** @type {__VLS_StyleScopedClasses['transfer-order-page']} */ ;
/** @type {__VLS_StyleScopedClasses['page-header']} */ ;
/** @type {__VLS_StyleScopedClasses['search-bar']} */ ;
/** @type {__VLS_StyleScopedClasses['search-input']} */ ;
/** @type {__VLS_StyleScopedClasses['search-btn']} */ ;
/** @type {__VLS_StyleScopedClasses['add-btn']} */ ;
/** @type {__VLS_StyleScopedClasses['order-table']} */ ;
/** @type {__VLS_StyleScopedClasses['pagination']} */ ;
/** @type {__VLS_StyleScopedClasses['total-info']} */ ;
/** @type {__VLS_StyleScopedClasses['transfer-form-header']} */ ;
/** @type {__VLS_StyleScopedClasses['transfer-table-header']} */ ;
var __VLS_export = (await Promise.resolve().then(function () { return require('vue'); })).defineComponent({});
exports.default = {};
